//
//  ShopCartViewController.h
//  ShoppingExperience
//
//  Created by LiYinDi on 15-1-4.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZJSwitch.h"
@protocol ShopCartDelegate;
@interface ShopCartViewController : UIViewController<UITextFieldDelegate>
@property(nonatomic,weak) id<ShopCartDelegate> delegate;
@property(nonatomic,strong) NSString *isLoad;
@property(nonatomic,strong) NSString *productOrDetailStr;
@property(weak, nonatomic)IBOutlet UITableView *shopCartTableView;
@property(weak, nonatomic)IBOutlet UILabel *totalResultLabel;
@property(weak, nonatomic)IBOutlet UIButton *clearAllBtn;
@property(weak, nonatomic)IBOutlet UILabel *shopCartTotalLabel;
@property(weak, nonatomic)IBOutlet UIButton *shopCartBackBtn;

//priceDetailViewContainer
@property(weak, nonatomic)IBOutlet UILabel *weightLabel1;
@property(weak, nonatomic)IBOutlet UILabel *weightLabel2;
@property(weak, nonatomic)IBOutlet UITextField *todayGoldPriceTextField;
@property(weak, nonatomic)IBOutlet UITextField *goldPriceTextField;
@property(weak, nonatomic)IBOutlet UITextField *processPriceTextField;
@property(weak, nonatomic)IBOutlet UITextField *processFeeTextField;

@property(weak, nonatomic)IBOutlet UITextField *cutGoldTextField;
@property(weak, nonatomic)IBOutlet UITextField *discountTextField;
@property(weak, nonatomic)IBOutlet UILabel *cutGoldLabel;
@property(weak, nonatomic)IBOutlet UILabel *discountLabel;

//@property(weak, nonatomic)IBOutlet UITextView *remarkTextView;
//@property(weak, nonatomic)IBOutlet UIImageView *textviewImage;
//@property(weak, nonatomic)IBOutlet UILabel *textviewLabel;

@property(weak, nonatomic)IBOutlet UILabel *priceDetailtotalValueLabel;
@property(weak, nonatomic)IBOutlet UIButton *priceDetailAlphaView;
@property(weak, nonatomic)IBOutlet UIView *priceDetailViewContainer;

//CashierViewContainer
//new
@property(weak, nonatomic)IBOutlet UITableView *cashierListTableView;
@property(weak, nonatomic)IBOutlet UIView *decutibleView;
@property(weak, nonatomic)IBOutlet UIButton *selectDepositButton;
@property(weak, nonatomic)IBOutlet UITextField *depositText;
@property(weak, nonatomic)IBOutlet UILabel *decutibleLabel;
@property(weak, nonatomic)IBOutlet UILabel *cashierTotalLabel;
@property(weak, nonatomic)IBOutlet UILabel *cashierInfoLabel;
@property(weak, nonatomic)IBOutlet UILabel *cashierLastTotalLabel;
//
@property(weak, nonatomic)IBOutlet UIScrollView *cashierSrollView;
@property(weak, nonatomic)IBOutlet UIButton *cashierConfirmBtn;
@property(weak, nonatomic)IBOutlet UIView *depositView;
//@property(weak, nonatomic)IBOutlet UITextField *depositTextField;
@property(weak, nonatomic)IBOutlet UIView *cashierLastView;
@property(weak, nonatomic)IBOutlet UITextView *cashierTextView;
@property(weak, nonatomic)IBOutlet UILabel *cashierTextViewLabel;
@property(weak, nonatomic)IBOutlet UIImageView *cashierTextViewImage;
//@property(weak, nonatomic)IBOutlet ZJSwitch *depositSwitch;
@property(weak, nonatomic)IBOutlet UIView *cashierViewContainer;
@property(weak, nonatomic)IBOutlet UIButton *cashierAlphaView;
@property(weak, nonatomic)IBOutlet UIButton *guideListBtn;
@property(weak, nonatomic)IBOutlet UILabel *guideNameLabel;
@property(weak, nonatomic)IBOutlet UIView *guideListViewContainer;
@property(weak, nonatomic)IBOutlet UIImageView *guideListArrowImage;
@property(weak, nonatomic)IBOutlet UITableView *guideListTableView;


@property(weak, nonatomic)IBOutlet UILabel *memberAndPhoneLabel;
@property(weak, nonatomic)IBOutlet UILabel *memberGradeLabel;
@property(weak, nonatomic)IBOutlet UILabel *memberGradeTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *memberIntegralLabel;
@property(weak, nonatomic)IBOutlet UILabel *memberIntegralTagLabel;

@property(weak, nonatomic)IBOutlet UILabel *orderNumberLabel;
@property(weak, nonatomic)IBOutlet UILabel *cashierAmountLabel;
@property(weak, nonatomic)IBOutlet UIButton *integralButton;
@property(weak, nonatomic)IBOutlet UIButton *deductibleButton;
@property(weak, nonatomic)IBOutlet UIButton *oldMeterialButton;
@property(weak, nonatomic)IBOutlet UIButton *cashierButton;
@property(weak, nonatomic)IBOutlet UIButton *bankButton;
@property(weak, nonatomic)IBOutlet UIButton *cashierScanBtn;
@property(weak, nonatomic)IBOutlet UIButton *cashierDetailBtn;

@property(weak, nonatomic)IBOutlet UITextField *integralTextField;
@property(weak, nonatomic)IBOutlet UITextField *deductibleTextField;
@property(weak, nonatomic)IBOutlet UITextField *oldMeterialTextField;
//@property(weak, nonatomic)IBOutlet UITextField *cashierTextField;
//@property(weak, nonatomic)IBOutlet UITextField *bankTextField;

@property(weak, nonatomic)IBOutlet UITextField *cashierSearchMemberTextField;

@property(weak, nonatomic)IBOutlet UILabel *integralAvailabelLabel;
@property(weak, nonatomic)IBOutlet UILabel *balancePayLabel;

//OldMeterialDetailViewContainer
@property(weak, nonatomic)IBOutlet UIView *oldMeterialViewContainer;
@property(weak, nonatomic)IBOutlet UIButton *oldMeterialAlphaView;
@property(weak, nonatomic)IBOutlet UIScrollView *oldMeterialScrollView;
@property(weak, nonatomic)IBOutlet UIView *oldMeterialLastView;
@property(weak, nonatomic)IBOutlet UITableView *oldMeterialTableview;
@property(weak, nonatomic)IBOutlet UITextField *chengSeTextField;
@property(weak, nonatomic)IBOutlet UITextField *weightTextField;
@property(weak, nonatomic)IBOutlet UITextField *recoveryGoldPriceTextField;
@property(weak, nonatomic)IBOutlet UITextField *lossTextField;
//@property(weak, nonatomic)IBOutlet UITextView *oldMeterialTextView;
//@property(weak, nonatomic)IBOutlet UIImageView *oldMeterialTextViewImage;
//@property(weak, nonatomic)IBOutlet UILabel *oldMeterialTextViewLabel;
@property(weak, nonatomic)IBOutlet UIButton *oldMeterialAddRowBtn;
@property(weak, nonatomic)IBOutlet UIView *chengSeViewContainer;
@property(weak, nonatomic)IBOutlet UITableView *chengSeTableView;
@property(weak, nonatomic)IBOutlet UIImageView *chengSeListArrow;
@property(weak, nonatomic)IBOutlet UIButton *chengSeListBtn;
@property(weak, nonatomic)IBOutlet UILabel *oldMeterialTotalAmountLabel;

//addMemberViewContainer
@property(weak, nonatomic)IBOutlet UIButton *addMemberButton;

//searchMemberViewContainer
@property(weak, nonatomic)IBOutlet UIView *searchMemberViewContainer;
@property(weak, nonatomic)IBOutlet UIButton *searchMemberAlphaView;
@property(weak, nonatomic)IBOutlet UITextField *searchMemberTextField;
@property(weak, nonatomic)IBOutlet UITableView *searchMemberTableView;
@property(weak, nonatomic)IBOutlet UILabel *totalMemberLabel;

//priceDetailView1
@property(weak, nonatomic)IBOutlet UITextField *discountTextField1;
@property(weak, nonatomic)IBOutlet UITextField *discountRateTextField;
@property(weak, nonatomic)IBOutlet UILabel *marketPriceLabel;
@property(weak, nonatomic)IBOutlet UILabel *discountLabel1;
//@property(weak, nonatomic)IBOutlet UITextView *remarkTextView1;
//@property(weak, nonatomic)IBOutlet UIImageView *textviewImage1;
//@property(weak, nonatomic)IBOutlet UILabel *textviewLabel1;
@property(weak, nonatomic)IBOutlet UILabel *priceDetailtotalValueLabel1;
@property(weak, nonatomic)IBOutlet UIButton *priceDetailAlphaView1;
@property(weak, nonatomic)IBOutlet UIView *priceDetailViewContainer1;

@property(nonatomic)NSTimer *timer;
@end
@protocol ShopCartDelegate <NSObject>
@optional
-(void)shopCartBackClick;
-(void)shopCartCashierClick;
-(void)shopCartHomeClick;
-(void)shopcartCashierFinish;

@end